package com.ruoyi.his.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.context.annotation.Bean;

/**
 * 药方对象 his_medical_record
 * 
 * @author ruoyi
 * @date 2021-11-09
 */
public class HisMedicalRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createDatetime;

    /** 主诉 */
    private String conditionDescription;

    /** 初步诊断 */
    private String diagnosisResult;

    /** 药品总花费 */
    private Long drugCost;

    /** 医嘱 */
    private String medicalOrder;

    /** 药方富文本 */
    private String prescription;

    /** 处方号 */
    @Excel(name = "处方号")
    private String prescriptionNum;

    /** 挂号信息id,外键 */
    @Excel(name = "挂号信息id,外键")
    private String registerId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreateDatetime(String createDatetime) 
    {
        this.createDatetime = createDatetime;
    }

    public String getCreateDatetime() 
    {
        return createDatetime;
    }
    public void setConditionDescription(String conditionDescription) 
    {
        this.conditionDescription = conditionDescription;
    }

    public String getConditionDescription() 
    {
        return conditionDescription;
    }
    public void setDiagnosisResult(String diagnosisResult) 
    {
        this.diagnosisResult = diagnosisResult;
    }

    public String getDiagnosisResult() 
    {
        return diagnosisResult;
    }
    public void setDrugCost(Long drugCost) 
    {
        this.drugCost = drugCost;
    }

    public Long getDrugCost() 
    {
        return drugCost;
    }
    public void setMedicalOrder(String medicalOrder) 
    {
        this.medicalOrder = medicalOrder;
    }

    public String getMedicalOrder() 
    {
        return medicalOrder;
    }
    public void setPrescription(String prescription) 
    {
        this.prescription = prescription;
    }

    public String getPrescription() 
    {
        return prescription;
    }
    public void setPrescriptionNum(String prescriptionNum) 
    {
        this.prescriptionNum = prescriptionNum;
    }

    public String getPrescriptionNum() 
    {
        return prescriptionNum;
    }
    public void setRegisterId(String registerId) 
    {
        this.registerId = registerId;
    }

    public String getRegisterId() 
    {
        return registerId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createDatetime", getCreateDatetime())
            .append("conditionDescription", getConditionDescription())
            .append("diagnosisResult", getDiagnosisResult())
            .append("drugCost", getDrugCost())
            .append("medicalOrder", getMedicalOrder())
            .append("prescription", getPrescription())
            .append("prescriptionNum", getPrescriptionNum())
            .append("registerId", getRegisterId())
            .toString();
    }
}
